<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- Sidebar user panel -->
      <div class="user-panel">
        <div class="pull-left image">
          <img src="{{asset('assets/dist/img/user2-160x160.jpg')}}" class="img-circle" alt="User Image">
        </div>
        <div class="pull-left info">
          <p>{{auth('admin')->user()->name}}</p>
          <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
        </div>
      </div>
      <!-- search form -->
      <form action="#" method="get" class="sidebar-form">
        <div class="input-group">
          <input type="text" name="q" class="form-control" placeholder="Search...">
          <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
        </div>
      </form>
      <!-- /.search form -->
      <!-- sidebar menu: : style can be found in sidebar.less -->
      <ul class="sidebar-menu" data-widget="tree">
        <li class="header">管理列表</li>

        <li class="treeview">
          <a href="#">
            <i class="fa fa-dashboard active"></i> <span>权限管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu" >
            <li class="menu {{ Route::is('admin.user.index') ? 'active' : '' }}"><a href="{{route('admin.user.index')}}"><i class="fa fa-circle-o"></i>管理帐号</a></li>
            <li class="menu {{ Route::is('admin.role.index') ? 'active' : '' }}"><a href="{{route('admin.role.index')}}"><i class="fa fa-circle-o"></i>角色类型</a></li>
            <li class="menu {{ Route::is('admin.permission.index') ? 'active' : '' }}"><a href="{{route('admin.permission.index')}}"><i class="fa fa-circle-o"></i>权限规则</a></li>
          </ul>
        </li>

        <li class="treeview">
          <a href="#">
            <i class="fa fa-dashboard active"></i> <span>商品管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li class="menu {{ Route::is('admin.item.index') ? 'active' : '' }}"><a href="{{route('admin.item.index')}}"><i class="fa fa-circle-o"></i>商品管理</a></li>
            <li class="menu {{ Route::is('admin.category.index') ? 'active' : '' }}"><a href="{{route('admin.category.index')}}"><i class="fa fa-circle-o"></i>商品类型</a></li>
            <li class="menu {{ Route::is('admin.attribute.index') ? 'active' : '' }}"><a href="{{route('admin.attribute.index')}}"><i class="fa fa-circle-o"></i>商品属性</a></li>
          </ul>
        </li>

        <li class="treeview">
          <a href="#">
            <i class="fa fa-dashboard"></i> <span>店铺管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li class="menu {{ Route::is('admin.shops.index') ? 'active' : '' }}"><a href="{{route('admin.shops.index')}}"><i class="fa fa-circle-o"></i>店铺管理</a></li>
          </ul>
        </li>

        <li class="treeview">
          <a href="#">
            <i class="fa fa-dashboard"></i> <span>内容管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            
            <li class="menu {{ Route::is('admin.tag.index') ? 'active' : '' }}"><a href="{{route('admin.tag.index')}}"><i class="fa fa-circle-o"></i>标签管理</a></li>
            <li class="menu {{ Route::is('admin.article.index') ? 'active' : '' }}"><a href="{{route('admin.article.index')}}"><i class="fa fa-circle-o"></i>文章管理</a></li>
          </ul>
        </li>       



       
        
      </ul>
    </section>
    
  </aside>